package com.clw.weblogin.service;

import com.clw.weblogin.common.entity.ResultEntity;
import com.clw.weblogin.entity.HuanKuan;

import java.util.Date;
import java.util.List;

public interface HuanKuanService {
    ResultEntity select(HuanKuan huanKuan, int page , int limit);
    ResultEntity insert(HuanKuan huanKuan);
    ResultEntity update(HuanKuan huanKuan);
    Date yujidate(Date cunkuandate, int jiesuanzhouqi) throws Exception;
    int havelixi(int day,double lilv,double cunkuanmoney);
    ResultEntity updatesome(HuanKuan huanKuan);
    ResultEntity huanlixi(HuanKuan huanKuan);
    List<HuanKuan> selectById(HuanKuan huanKuan);
    ResultEntity selectByDate(HuanKuan huanKuan, int page , int limit);
    List <HuanKuan> selectByExample(HuanKuan huanKuan);
}
